-
Notifications
You must be signed in to change notification settings - Fork 821
add commenter_options in trace_integration #3743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add commenter_options in trace_integration #3743
Conversation
instrumentation/opentelemetry-instrumentation-dbapi/tests/test_dbapi_integration.py
Show resolved
Hide resolved
|
Hi @chloe-zh97 thanks for this. A few more requests:
|
0fcd925 to
edb34e6
Compare
Thanks, done. |
tammy-baylis-swi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm! The Maintainers will also have a look at this PR.
Okay, thank you! |
...tion/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py
Outdated
Show resolved
Hide resolved
eb3f469 to
b232b9a
Compare
|
Hi @xrmx, could you help review again, many thanks! |
|
Hi @karthikscale3 , @lzchen , @nirga , can you help review this PR? many thanks |
Description
This PR adds support for passing
commenter_optionsto thetrace_integrationfunction andDatabaseApiIntegrationin theopentelemetry-instrumentation-dbapipackage. This allows users to customize SQLCommenter behavior (for example, disablingopentelemetry_values) when instrumenting DB-API drivers.Fixes #3726
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
test_commenter_options_propagationandtest_trace_integration_passes_commenter_optionstox -e lintandpytest.tox -e rufffor code formattingDoes This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.